The sprite media handler provides functions that allow an application to create and manipulate a sprite animation as a track in a QuickTime movie.
The following sections are illustrated with code from the sample program MakeSpriteMovie.c , which shows how to create a QuickTime sprite track. The sample code creates a 640 by 480 pixel movie with one sprite track. The sprite track can have either a static background picture sprite or a solid color background. The sprite track has three other sprites whose properties change over time. The sprite track's media contains one key frame sample followed by many override samples. The key frame sample contains all of the images used by the sprites. The override samples contain the overrides of the locations, image indices, and layers needed to modify the sprites.